package com.xxyf.domain;

import lombok.*;

/**null@Author 小小怡飞
 * @Date 2022/12/14 20:06
 * @Version JDK 8
 */

@Getter

@AllArgsConstructor
public enum Code {

    SUCCEED(1000,"true"),
    ERROR(1001,"false");
    private final Integer code;
    private final String msg;


    public String getMag() {
        return msg;
    }
    public Integer getCode(){
        return code;
    }
}
